package com.maxmind.service;

import java.io.IOException;

import com.maxmind.domain.LookUpResult;
import com.maxmind.domain.LookupBaseResult;

/**
 * 类LookUpService的实现描述：ip查找定义类
 *
 * @author sunyj 2025/3/21 13:55
 */
public interface LookUpService {

    /**
     * 根据ip查询
     * @param ip ip
     * @return LookupResult
     */
    LookUpResult getResultByIpStr(String ip) throws IOException;
}
